﻿// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Collections.Generic;
using JetBrains.Annotations;

namespace NSQL.Resource
{
    public interface ITableInfo
    {
        IDatabaseInfo Database { get; }
        ISchemaInfo Schema { get; }
        int Id { get; }
        Identifier Name { get; }
        string Expr { get; }
        Identifier Alias { get; }
        IReadOnlyList<IColumnInfo> Columns { get; }
        void Add(IColumnInfo columnInfo);
    }
}